import Vue from 'vue'
import Router from 'vue-router'

const _import = require('./_import_' + process.env.NODE_ENV)
// in development-env not use lazy-loading, because lazy-loading too many pages will cause webpack hot update too slow. so only in production use lazy-loading;

Vue.use(Router);

/* Layout */
import Layout from '../views/layout/Layout'
import Layoutoutside from './../views/layoutoutside/Layoutoutside'
import LvThreeBox from '../views/layout/components/LvThreeBox.vue'
// import menuLayout from '../views/Depthanalysis/menuLayout/menuLayout'

/**
 * hidden: true                   if `hidden:true` will not show in the sidebar(default is false)
 * redirect: noredirect           if `redirect:noredirect` will no redirct in the breadcrumb
 * name:'router-name'             the name is used by <keep-alive> (must set!!!)
 * meta : {
    role: ['admin','editor']     will control the page role (you can set multiple roles)
    title: 'title'               the name show in submenu and breadcrumb (recommend set)
    icon: 'svg-name'             the icon show in the sidebar,
    noCache: true                if fasle ,the page will no be cached(default is false)
  }
 **/
export const constantRouterMap = [
  {path: '/login', component: _import('login/index'), hidden: true},
  {path: '/authredirect', component: _import('login/authredirect'), hidden: true},
  {path: '/404', component: _import('errorPage/404'), hidden: true},
  {path: '/faq', component: _import('Reference/faqInside'), hidden: true},
  {path: '/guide', component: _import('Reference/QuanX'), hidden: true},
  {path: '/aboutus', component: _import('Reference/newAboutUs'), hidden: true},
  // {path: '/gdemo', component: _import('Gdemo'), hidden: true},
  // {path: '/item', component: _import('newCustomerInfo'), hidden: true},
  {
    path: '/FAQ',
    component: Layout,
    redirect: '/FAQ/index',
    hidden: true,
    meta: {},
    children: [{
      path: 'index',
      component: _import('Reference/faqInside'),
      name: 'FAQ'
    }]
  },
  {
    path: '/',
    component: Layout,
    redirect: '/Homepage',
    meta: {title: 'Homepage', icon: 'icon-zonglan'},
    hidden: true
  },
  {
    path: '/Homepage',
    component: Layout,
    redirect: '/Homepage/index',
    menuLevel: 1,
    meta: {},
    children: [{
      path: 'index',
      component: _import('Homepage/homePage'),
      name: 'Homepage',
      meta: {
        title: 'Homepage',
        icon: 'icon-homepage-icon',
        noCache: true
      }
    }]
  },
  {
    path: '/InfoRetrievalIntroduction',
    component: Layout,
    redirect: '/InfoRetrievalIntroduction/index',
    hidden: true,
    meta: {},
    children: [{
      path: 'index',
      component: _import('IntroductionPage/InfoRetrieval'),
      name: 'InfoRetrievalIntroduction',
      meta: {
        title: 'InfoRetrievalIntroduction'
      }
    }]
  },
  {
    path: '/CustomerInsightIntroduction',
    component: Layout,
    redirect: '/CustomerInsightIntroduction/index',
    hidden: true,
    meta: {},
    children: [{
      path: 'index',
      component: _import('IntroductionPage/CustomerInsight'),
      name: 'CustomerInsightIntroduction',
      meta: {
        title: 'CustomerInsight'
      }
    }]
  },
  {
    path: '/BusinessInsightIntroduction',
    component: Layout,
    redirect: '/BusinessInsightIntroduction/index',
    hidden: true,
    meta: {},
    children: [{
      path: 'index',
      component: _import('IntroductionPage/BusinessInsight'),
      name: 'BusinessInsightIntroduction',
      meta: {
        title: 'BusinessInsightIntroduction'
      }
    }]
  },
  {
    path: '/DataToolsIntroduction',
    component: Layout,
    redirect: '/DataToolsIntroduction/index',
    hidden: true,
    meta: {},
    children: [
      {
        path: 'index',
        component: _import('IntroductionPage/DataTools'),
        name: 'DataToolsIntroduction',
        meta: {
          title: 'DataToolsIntroduction'
        }
      },
    ]
  },
  {
    path: '/DataInfoIntroduction',
    component: Layout,
    redirect: '/DataInfoIntroduction/index',
    hidden: true,
    meta: {},
    children: [{
      path: 'index',
      component: _import('IntroductionPage/DataInfo'),
      name: 'DataInfoIntroduction',
      meta: {
        title: 'DataInfoIntroduction'
      }
    }]
  }
]

export default new Router({
  // mode: 'history', //后端支持可开
  // scrollBehavior: () => ({y: 0}),
  routes: constantRouterMap
})

export const asyncRouterMap = [
  // {
  //   path: '/infinitScroll',
  //   component: Layout,
  //   redirect: '/infinitScroll',
  //   menuLevel: 1,
  //   noFilter: true,
  //   hidden: false,
  //   children: [{
  //     path: 'index',
  //     component: _import('infinitScroll'),
  //   }]
  // },
  {
    path: '/Dashboard',
    component: Layout,
    redirect: '/Dashboard/index',
    menuLevel: 1,
    meta: {},
    children: [{
      path: 'index',
      component: _import('Dashboard/dashboard'),
      name: 'Dashboard',
      meta: {
        title: 'Dashboard',
        icon: 'icon-zonglan',
        noCache: true
      }
    }]
  },
  {
    path: '/InfoRetrieval',
    component: Layout,
    meta: {title: 'InfoRetrieval', icon: 'icon-yonghuming'},
    children: [
      {
        path: 'CustomerProfile',
        component: _import('InfoRetrieval/CustomerProfile/customerProfile'),
        name: 'CustomerProfile',
        hidden: false,
        meta: {
          title: 'CustomerProfile'
        }
      },
      {
        path: 'ProductRetrieval',
        component: _import('InfoRetrieval/ProductRetrieval/productRetrieval'),
        name: 'ProductRetrieval',
        hidden: false,
        meta: {
          title: 'ProductRetrieval'
        }
      },
      {
        path: 'AdvancedSearch',
        component: _import('InfoRetrieval/AdvancedSearch/advancedSearch'),
        name: 'AdvancedSearch',
        hidden: false,
        meta: {
          title: 'AdvancedSearch'
        }
      },
      {
        path: 'newSearchResult',
        component: _import('InfoRetrieval/CustomerProfile/newSearchResult'),
        name: 'newSearchResult',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'newSearchResult',
          icon: 'icon-information'
        }
      },
      {
        path: 'companyDetails',
        component: _import('InfoRetrieval/CustomerProfile/companyDetails'),
        // component: _import('InfoRetrieval/CustomerProfile/companyDetails1'),
        name: 'companyDetails',
        noFilter: true,
        hidden: true,
      },
      {
        path: 'SearchResult2',
        component: _import('InfoRetrieval/ProductRetrieval/searchResult2'),
        name: 'SearchResult2',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'SearchResult2',
          icon: 'icon-information'
        }
      },
      {
        path: 'filterResult',
        component: _import('InfoRetrieval/AdvancedSearch/filterResult'),
        name: 'filterResult',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'filterResult',
          icon: 'icon-information'
        }
      },
      {
        path: 'filterResultServices',
        component: _import('InfoRetrieval/AdvancedSearch/filterResultServices'),
        name: 'filterResultServices',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'filterResultServices',
          icon: 'icon-information'
        }
      },
      {
        path: 'filterResultCBD',
        component: _import('InfoRetrieval/AdvancedSearch/filterResultCBD'),
        name: 'filterResultCBD',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'filterResultCBD',
          icon: 'icon-information'
        }
      },
      {
        path: 'filterResultMachine',
        component: _import('InfoRetrieval/AdvancedSearch/filterResultMachine'),
        name: 'filterResultMachine',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'filterResultMachine',
          icon: 'icon-information'
        }
      },
      {
        path: 'ProductDetails',
        component: _import('InfoRetrieval/ProductRetrieval/productDetails'),
        name: 'ProductDetails',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'ProductDetails'
        }
      }
    ]
  },
  {
    path: '/CustomerInsight',
    component: Layout,
    noFilter: true,
    meta: {
      title: 'CustomerInsight',
      icon: 'icon-CustomerInsight',
      role: ['admin']
    },
    children: [
      {
        path: 'CustomerLoyalty',
        component: _import('CustomerInsight/CustomerLoyalty'),
        name: 'CustomerLoyalty',
        hidden: false,
        meta: {
          title: 'CustomerLoyalty'
        }
      },
      {
        path: 'CustomerContribution',
        component: _import('CustomerInsight/CustomerContribution'),
        name: 'CustomerContribution',
        hidden: false,
        meta: {
          title: 'CustomerContribution'
        }
      },
      {
        path: 'CustomerRanking',
        component: _import('CustomerInsight/customerRanking'),
        name: 'CustomerRanking',
        hidden: false,
        meta: {
          title: 'CustomerRanking'
        }
      },
      {
        path: 'TopCustomer',
        component: _import('CustomerInsight/TopCustomer'),
        name: 'TopCustomer',
        hidden: false,
        meta: {
          title: 'TopCustomer'
        }
      },
      // 客户流失预警页面 10.19新增
      {
        path: 'CustomerLossWarning',
        component: _import('CustomerInsight/CustomerLossWarning'),
        name: 'CustomerLossWarning',
        hidden: false,
        noFilter: false,
        meta: {
          title: 'CustomerLossWarning'
        }
      },
      {
        path: 'CustomerSurvey',
        component: _import('CustomerInsight/CustomerSurvey'),
        name: 'CustomerSurvey',
        hidden: false,
        meta: {
          title: 'CustomerSurvey'
        }
      }
    ]
  },
  {
    path: '/BusinessInsight',
    component: Layout,
    noFilter: true,
    meta: {title: 'BusinessInsight', icon: 'icon-BusinessInsight-ico', role: ['admin']},
    children: [
      {
        path: 'SalesPrediction',
        component: _import('BusinessInsight/SalesPrediction'),
        name: 'SalesPrediction',
        hidden: false,
        noFilter: false,
        meta: {
          title: 'SalesPrediction'
        }
      },
      {
        path: 'Bidding',
        component: _import('BusinessInsight/Bidding/bidding'),
        name: 'Bidding',
        noFilter: false,
        hidden: false,
        meta: {
          title: 'Bidding'
        }
      },
      {
        path: 'BidDetails',
        component: _import('BusinessInsight/Bidding/BidDetails'),
        name: 'BidDetails',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'BidDetails'
        }
      },
      {
        path: 'OtherDetails',
        component: _import('BusinessInsight/Bidding/OtherDetails'),
        name: 'OtherDetails',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'OtherDetails'
        }
      },
      {
        path: 'TenderDetails',
        component: _import('BusinessInsight/Bidding/TenderDetails'),
        name: 'TenderDetails',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'TenderDetails'
        }
      },
      {
        path: 'MyCollection',
        component: _import('BusinessInsight/Bidding/myCollection'),
        name: 'AdvancedSearch',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'myCollection'
        }
      },
      {
        path: 'BiddingInfo',
        component: _import('BusinessInsight/BiddingInfo/biddingInfo'),
        name: 'BiddingInfo',
        noFilter: false,
        hidden: false,
        meta: {
          title: 'BiddingInfo'
        }
      },
      {
        path: 'ItemWinRatePrediction',
        component: _import('BusinessInsight/ItemWinRatePrediction/ItemWinRatePrediction'),
        name: 'ItemWinRatePrediction',
        noFilter: false,
        hidden: false,
        meta: {
          title: 'ItemWinRatePrediction'
        }
      },
      {
        path: 'ProductConfiguration',
        component: _import('BusinessInsight/ProductConfiguration/Configguration'),
        name: 'ProductConfiguration',
        hidden: false,
        meta: {
          title: 'ProductConfiguration'
        }
      },
      {
        path: 'ProductLifeCycle',
        component: _import('BusinessInsight/ProductLifeCycle/productLifeCycle'),
        name: 'ProductLifeCycle',
        hidden: false,
        noFilter:false,
        meta: {
          title: 'ProductLifeCycle',
        }
      },
      {
        path: 'Contacts',
        component: _import('BusinessInsight/ContactPortrait/ContactPortraitProfile'),
        name: 'Contacts',
        hidden: false,
        noFilter:true,
        meta: {
          title: 'Contacts'
        }
      },
      {
        path: 'ContactsSearchResult',
        component: _import('BusinessInsight/ContactPortrait/ContactPortraitSearchResult'),
        name: 'ContactsSearchResult',
        hidden: true,
        noFilter: true,
        meta: {
          title: 'ContactsSearchResult',
          icon: 'icon-information'
        }
      },
      // 汇总 dshboard
      {
        path: 'DASummary',
        component: _import('BusinessInsight/eservice/DASummary/DASummary'),
        name: 'DASummary',
        hidden: false,
        noFilter:true,
        meta: {
          title: 'DASummary',
        }
      },
      {
        path: 'dingding',
        component: _import('BusinessInsight/eservice/dingding/dingding'),
        name: 'dingding',
        hidden: false,
        noFilter:true,
        meta: {
          title: 'dingding',
        }
      },
      {
        path: 'enterpriseWechat',
        component: _import('BusinessInsight/eservice/enterpriseWeChat/enterpriseWeChat'),
        name: 'enterpriseWechat',
        hidden: false,
        noFilter:true,
        meta: {
          title: 'enterpriseWechat',
        }
      },
      {
        path: 'WeChatAccount',
        component: _import('BusinessInsight/eservice/WeChatAccount/WeChatAccount'),
        name: 'WeChatAccount',
        hidden: false,
        noFilter: true,
        meta: {
          title: 'WeChatAccount',
        }
      },
      // {
      //   path: 'EngineerOnlineModule',
      //   component: _import('BusinessInsight/eservice/enterpriseWeChat/components/EngineerOnlineModule'),
      //   name: 'EngineerOnlineModule',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'EngineerOnlineModule',
      //   }
      // },
      // {
      //   path: 'OneClickRepairModule',
      //   component: _import('BusinessInsight/eservice/enterpriseWeChat/components/OneClickRepairModule'),
      //   name: 'OneClickRepairModule',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'OneClickRepairModule',
      //   }
      // },
      // {
      //   path: 'DriverModule',
      //   component: _import('BusinessInsight/eservice/enterpriseWeChat/components/DriverModule'),
      //   name: 'DriverModule',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'DriverModule',
      //   }
      // },
      // {
      //   path: 'WorkOrderModule',
      //   component: _import('BusinessInsight/eservice/enterpriseWeChat/components/WorkOrderModule'),
      //   name: 'WorkOrderModule',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'WorkOrderModule',
      //   }
      // },
      // {
      //   path: 'MyModule',
      //   component: _import('BusinessInsight/eservice/enterpriseWeChat/components/MyModule'),
      //   name: 'MyModule',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'MyModule',
      //   }
      // },
      // {
      //   path: 'AppointmentRepair',
      //   component: _import('BusinessInsight/eservice/WeChatAccount/components/AppointmentRepair/AppointmentRepair'),
      //   name: 'AppointmentRepair',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'AppointmentRepair',
      //   }
      // },
      // {
      //   path: 'OnlineConsultation',
      //   component: _import('BusinessInsight/eservice/WeChatAccount/components/OnlineConsultation/OnlineConsultation'),
      //   name: 'OnlineConsultation',
      //   hidden: false,
      //   noFilter: true,
      //   meta: {
      //     title: 'OnlineConsultation',
      //   }
      // },
      // {
      //   path: 'WarrantyDriver',
      //   component: _import('BusinessInsight/eservice/WeChatAccount/components/WarrantyDriver/WarrantyDriver'),
      //   name: 'WarrantyDriver',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'WarrantyDriver',
      //   }
      // },
      // {
      //   path: 'RefurbishmentMachine',
      //   component: _import('BusinessInsight/eservice/WeChatAccount/components/RefurbishmentMachine/RefurbishmentMachine'),
      //   name: 'RefurbishmentMachine',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'RefurbishmentMachine',
      //   }
      // },
      // {
      //   path: 'LenovoSuperClass',
      //   component: _import('BusinessInsight/eservice/WeChatAccount/components/LenovoSuperClass/LenovoSuperClass'),
      //   name: 'LenovoSuperClass',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'LenovoSuperClass',
      //   }
      // },
      // {
      //   path: 'PersonalCenter',
      //   component: _import('BusinessInsight/eservice/WeChatAccount/components/PersonalCenter/PersonalCenter'),
      //   name: 'PersonalCenter',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'PersonalCenter',
      //   }
      // },
      // {
      //   path: 'MyNeedForMachine',
      //   component: _import('BusinessInsight/eservice/WeChatAccount/components/MyNeedForMachine/MyNeedForMachine'),
      //   name: 'MyNeedForMachine',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'MyNeedForMachine',
      //   }
      // },
      // {
      //   path: 'ChannelAnalysis',
      //   component: _import('BusinessInsight/eservice/WeChatAccount/components/ChannelAnalysis/ChannelAnalysis'),
      //   name: 'ChannelAnalysis',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'ChannelAnalysis',
      //   }
      // },
      // {
      //   path: 'UserAnalysis',
      //   component: _import('BusinessInsight/eservice/WeChatAccount/components/UserAnalysis/UserAnalysis'),
      //   name: 'UserAnalysis',
      //   hidden: false,
      //   noFilter:true,
      //   meta: {
      //     title: 'UserAnalysis',
      //   }
      // },

    ]
  },
  {
    path: '/DataTools',
    component: Layout,
    meta: {title: 'DataTools', icon: 'icon-shujugongju'},
    children: [
      {
        path: 'GroupUpdate',
        component: _import('DataTools/GroupUpdate/GroupProfile'),
        name: 'GroupUpdate',
        hidden: false,
        // noFilter:true,
        meta: {
          title: 'GroupUpdate'
        }
      },
      {
        path: 'GroupSearchResult',
        component: _import('DataTools/GroupUpdate/GroupSearchResult'),
        name: 'GroupSearchResult',
        noFilter: true,
        hidden: true,
        meta: {
          title: 'GroupSearchResult',
          icon: 'icon-information'
        }
      },
      {
        path: 'ServiceStatusUpdate',
        component: _import('DataTools/ServiceStatusUpdateFilter'),
        name: 'ServiceStatusUpdate',
        hidden: false,
        // noFilter:true,
        meta: {
          title: 'ServiceStatusUpdate'
        }
      },
      // {
      //12.5新版去除
      //   path: 'DataToolsFilterResult',
      //   component: _import('DataTools/DataToolsFilterResult'),
      //   name: 'DataToolsFilterResult',
      //   noFilter: true,
      //   hidden: true,
      //   meta: {
      //     title: 'DataToolsFilterResult',
      //     icon: 'icon-information'
      //   }
      // },
    ]
  },
  {
    path: '/DataInfo',
    component: Layout,
    noFilter: true,
    meta: {title: 'DataInfo', icon: 'icon-drgspingtairuanjianxitong24', role: ['admin']},
    children: [
      {
        path: 'DataSource',
        component: _import('DataInfo/DataSource'),
        name: 'DataSource',
        noFilter: true,
        meta: {
          title: 'DataSource'
        }
      },
      {
        path: 'DataDictionary',
        component: _import('DataInfo/DataDictionary'),
        name: 'DataDictionary',
        noFilter: true,
        meta: {
          title: 'DataDictionary'
        }
      }
    ]
  },
  {
    path: '/Reference',
    component: Layout,
    menuLevel: 2,
    noFilter: true,
    meta: {title: 'Reference', icon: 'icon-jibenziliao'},
    children: [
      {
        path: 'AboutUs',
        component: _import('Reference/aboutUs'),
        name: 'AboutUs',
        noFilter: true,
        meta: {
          title: 'AboutUs'
        }
      },
      {
        path: 'FAQ',
        component: _import('Reference/fAQ'),
        name: 'FAQ',
        noFilter: true,
        meta: {
          title: 'FAQ'
        }
      },
      {
        path: 'AIinCBI',
        component: _import('Reference/AIinCBI'),
        name: 'AIinCBI',
        noFilter: true,
        meta: {
          title: 'AIinCBI'
        }
      },
      {
        path: 'CBIAPI',
        // component: _import('CBIAPI/Example'),
        name: 'CBIAPI',
        component:LvThreeBox,
        hidden:false,
        noFilter: true,
        meta: {
          title: 'CBIAPI'
        },
        children:[
          {
            path: 'index',
            component: _import('CBIAPI/PCActivationAPI'),
            name: 'PCActivationAPI',
            hidden: false,
            noFilter: true,
            meta: {
              title: 'PCActivationAPI',
            }
          },
          {
            path: 'CustomerInfo',
            component: _import('CBIAPI/CustomerInfo'),
            name: 'CustomerInfo',
            hidden: false,
            noFilter: true,
            meta: {
              title: 'CustomerInfo',
            }
          },
          {
            path: 'Financing',
            component: _import('CBIAPI/Financing'),
            name: 'Financing',
            hidden: false,
            noFilter: true,
            meta: {
              title: 'Financing',
            }
          },
          {
            path: 'FinancialBusinessInfo',
            component: _import('CBIAPI/FinancialBusinessInfo'),
            name: 'FinancialBusinessInfo',
            hidden: false,
            noFilter: true,
            meta: {
              title: 'FinancialBusinessInfo',
            }
          },
          {
            path: 'CompanyBranch',
            component: _import('CBIAPI/CompanyBranch'),
            name: 'CompanyBranch',
            hidden: false,
            noFilter: true,
            meta: {
              title: 'CompanyBranch',
            }
          },

        ]
      }
    ]
  },
  // 产品生命周期 9.30新增
  // {
  //   path: '/ProductLifeCycle',
  //   component: Layout,
  //   menuLevel: 1,
  //   noFilter: true,
  //   meta: {},
  //   children: [
  //     {
  //       path: 'index',
  //       component: _import('ProductLifeCycle/productLifeCycle'),
  //       name: 'ProductLifeCycle',
  //       noFilter: true,
  //       meta: {
  //         title: 'ProductLifeCycle',
  //         icon: 'icon-jibenziliao'
  //       }
  //     }
  //   ]
  // },
  //10.17新增，familyShipment
  // {
  //   path: '/FamilyShipment',
  //   component: Layout,
  //   menuLevel: 1,
  //   noFilter: true,
  //   meta: {},
  //   children: [
  //     {
  //       path: 'index',
  //       component: _import('FamilyShipment/familyShipment'),
  //       name: 'FamilyShipment',
  //       noFilter: true,
  //       meta: {
  //         title: 'FamilyShipment',
  //         icon: 'icon-jibenziliao'
  //       }
  //     }
  //   ]
  // },
  {path: '*', redirect: '/404', hidden: true}
]

export const outsideRouterMap = [
  {
    path: '/CBIAPI',
    component: Layoutoutside,
    redirect: '/CBIAPI/index',
    // menuLevel: 1,
    meta: {title: 'CBIAPI', icon: 'icon-zonglan'},
    children: [
      //   {
      //   path: 'index',
      //   component: _import('CBIAPI/PCActivationAPI'),
      //   name: 'APIAccessProcess',
      //   meta: {
      //     title: 'APIAccessProcess',
      //   }
      // },
      {
        path: 'index',
        component: _import('CBIAPI/PCActivationAPI'),
        name: 'PCActivationAPI',
        hidden: false,
        meta: {
          title: 'PCActivationAPI',
        }
      },
      {
        path: 'CustomerInfo',
        component: _import('CBIAPI/CustomerInfo'),
        name: 'CustomerInfo',
        hidden: false,
        meta: {
          title: 'CustomerInfo',
        }
      },
      {
        path: 'Financing',
        component: _import('CBIAPI/Financing'),
        name: 'Financing',
        hidden: false,
        meta: {
          title: 'Financing',
        }
      },
      {
        path: 'FinancialBusinessInfo',
        component: _import('CBIAPI/FinancialBusinessInfo'),
        name: 'FinancialBusinessInfo',
        hidden: false,
        meta: {
          title: 'FinancialBusinessInfo',
        }
      },
      {
        path: 'CompanyBranch',
        component: _import('CBIAPI/CompanyBranch'),
        name: 'CompanyBranch',
        hidden: false,
        meta: {
          title: 'CompanyBranch',
        }
      },
      // {
      //   path: 'Overview',
      //   component: _import('CBIAPI/Overview'),
      //   name: 'Overview',
      //   hidden: false,
      //   meta: {
      //     title: 'Overview',
      //   }
      // },
      // {
      //   path: 'APIList',
      //   component: _import('CBIAPI/APIList'),
      //   name: 'APIList',
      //   hidden: false,
      //   meta: {
      //     title: 'APIList',
      //   }
      // },
      // {
      //   path: 'TokenAPI',
      //   component: _import('CBIAPI/TokenAPI'),
      //   name: 'TokenAPI',
      //   hidden: false,
      //   meta: {
      //     title: 'TokenAPI',
      //   }
      // },
      // {
      //   path: 'AttachmentAPI',
      //   component: _import('CBIAPI/AttachmentAPI'),
      //   name: 'AttachmentAPI',
      //   hidden: false,
      //   meta: {
      //     title: 'AttachmentAPI',
      //   }
      // },
      // {
      //   path: 'UnauthorizedAPI',
      //   component: _import('CBIAPI/UnauthorizedAPI'),
      //   name: 'UnauthorizedAPI',
      //   hidden: false,
      //   meta: {
      //     title: 'UnauthorizedAPI',
      //   }
      // },
    ]
  },
  // {
  //   path: '/CBIAPI',
  //   component: Layoutoutside,
  //   redirect: '/CBIAPI/index',
  //   hidden: true,
  //   menuLevel: 1,
  //   meta: {},
  //   children: [
  //     {
  //     path: 'index',
  //     component: _import('CBIAPI/PCActivationAPI'),
  //     name: 'APIAccessProcess',
  //     meta: {
  //       title: 'APIAccessProcess',
  //       icon: 'icon-zonglan',
  //       noCache: true
  //     }
  //   },
  //   ]
  // },
  // {
  //   path: '/Example',
  //   component: Layoutoutside,
  //   hidden: false,
  //   menuLevel: 1,
  //   meta: {},
  //   children: [{
  //     path: 'index',
  //     component: _import('CBIAPI/Example'),
  //     name: 'Example',
  //     meta: {
  //       title: 'Example',
  //       icon: 'icon-yonghuming'
  //     }
  //   }
  //   ]
  // }
]
